package com.snail.dao;

import com.snail.entity.ProductCategory;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author 【swg】.
 * @Date 2017/12/8 8:50
 * @DESC
 * @CONTACT 317758022@qq.com
 */
public interface ProductCategoryDao extends JpaRepository<ProductCategory,Integer>{
    List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList);
}
